﻿using Bikiball.Core;
using SharpDX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bikiball.Physic
{
    public class PhysicProperty : Property
    {
        public PhysicInteraction PhysicInteraction { get; set; }
        public Vector3 Speed { get; set; }
        public Vector3 Acceleration { get; set; }
        public Vector3 Force { get; set; }
        public PhysicModelisation PhysicModelisation { get; set; }
        public Vector3 Position;
        public Vector3 OldPosition;
        public Vector3 Direction;

        public PhysicProperty()
        {
            this.Speed = Vector3.Zero;
            this.Acceleration = Vector3.Zero;
            this.Force = Vector3.Zero;
            this.PhysicModelisation = Physic.PhysicModelisation.None;
            this.PhysicInteraction = new PhysicInteraction();
            this.Position = Vector3.Zero;
            this.OldPosition = Vector3.Zero;
            this.Direction = Vector3.Zero;
        }

        public override void PropInit(Property property)
        {
        }
    }
}
